import { ContainerComponent } from './../container.component';
import { Component, OnInit, ElementRef, Input } from '@angular/core';
import { removeNgTag } from '../../shared/utils/host';

@Component({
  selector: 'el-header',
  templateUrl: './header.component.html'
})
export class HeaderComponent implements OnInit {
  private root: any;
  private el: any;
  @Input() height: string = '60px';
  @Input() class: string = '';

  constructor(root: ContainerComponent, el: ElementRef) {
    this.root = root;
    this.el = el;
  }

  ngOnInit(): void {
    this.root.setVertical(true);
    removeNgTag(this.el.nativeElement);
  }

}
